package com.qiaofang.applet;

import com.qiaofang.core.gatewayclient.annotation.EnableGateway;
import com.qiaofang.metrics.config.MicrometerAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @author QF2019
 */
@ServletComponentScan(basePackages = {"com.qiaofang"})
@SpringBootApplication(scanBasePackages = {"com.qiaofang"}, exclude = {MicrometerAutoConfiguration.class})
@EnableGateway
public class WebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class);
    }
}
